/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package ccore.expression;

import ccore.constraint.CConstraint;
import choco.integer.IntVar;
import org.eclipse.emf.common.util.EList;


/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>CInt Var</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link ccore.expression.CIntVar#getName <em>Name</em>}</li>
 *   <li>{@link ccore.expression.CIntVar#getValue <em>Value</em>}</li>
 *   <li>{@link ccore.expression.CIntVar#getLowerBound <em>Lower Bound</em>}</li>
 *   <li>{@link ccore.expression.CIntVar#getUpperBound <em>Upper Bound</em>}</li>
 *   <li>{@link ccore.expression.CIntVar#getIntVar <em>Int Var</em>}</li>
 *   <li>{@link ccore.expression.CIntVar#getConstraints <em>Constraints</em>}</li>
 * </ul>
 * </p>
 *
 * @see ccore.expression.ExpressionPackage#getCIntVar()
 * @model
 * @generated
 */
public interface CIntVar extends CIntExprVar {
	/**
	 * Returns the value of the '<em><b>Name</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Name</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Name</em>' attribute.
	 * @see #setName(String)
	 * @see ccore.expression.ExpressionPackage#getCIntVar_Name()
	 * @model required="true"
	 * @generated
	 */
	String getName();

	/**
	 * Sets the value of the '{@link ccore.expression.CIntVar#getName <em>Name</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Name</em>' attribute.
	 * @see #getName()
	 * @generated
	 */
	void setName(String value);

	/**
	 * Returns the value of the '<em><b>Value</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Value</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Value</em>' attribute.
	 * @see #setValue(int)
	 * @see ccore.expression.ExpressionPackage#getCIntVar_Value()
	 * @model required="true"
	 * @generated
	 */
	int getValue();

	/**
	 * Sets the value of the '{@link ccore.expression.CIntVar#getValue <em>Value</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Value</em>' attribute.
	 * @see #getValue()
	 * @generated
	 */
	void setValue(int value);

	/**
	 * Returns the value of the '<em><b>Lower Bound</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Lower Bound</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Lower Bound</em>' attribute.
	 * @see #setLowerBound(int)
	 * @see ccore.expression.ExpressionPackage#getCIntVar_LowerBound()
	 * @model required="true"
	 * @generated
	 */
	int getLowerBound();

	/**
	 * Sets the value of the '{@link ccore.expression.CIntVar#getLowerBound <em>Lower Bound</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Lower Bound</em>' attribute.
	 * @see #getLowerBound()
	 * @generated
	 */
	void setLowerBound(int value);

	/**
	 * Returns the value of the '<em><b>Upper Bound</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Upper Bound</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Upper Bound</em>' attribute.
	 * @see #setUpperBound(int)
	 * @see ccore.expression.ExpressionPackage#getCIntVar_UpperBound()
	 * @model required="true"
	 * @generated
	 */
	int getUpperBound();

	/**
	 * Sets the value of the '{@link ccore.expression.CIntVar#getUpperBound <em>Upper Bound</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Upper Bound</em>' attribute.
	 * @see #getUpperBound()
	 * @generated
	 */
	void setUpperBound(int value);

	/**
	 * Returns the value of the '<em><b>Int Var</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Int Var</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Int Var</em>' attribute.
	 * @see #setIntVar(IntVar)
	 * @see ccore.expression.ExpressionPackage#getCIntVar_IntVar()
	 * @model dataType="ccore.expression.IntVar" required="true"
	 * @generated
	 */
	IntVar getIntVar();

	/**
	 * Sets the value of the '{@link ccore.expression.CIntVar#getIntVar <em>Int Var</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Int Var</em>' attribute.
	 * @see #getIntVar()
	 * @generated
	 */
	void setIntVar(IntVar value);

	/**
	 * Returns the value of the '<em><b>Constraints</b></em>' reference list.
	 * The list contents are of type {@link ccore.constraint.CConstraint}.
	 * It is bidirectional and its opposite is '{@link ccore.constraint.CConstraint#getVariables <em>Variables</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Constraints</em>' reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Constraints</em>' reference list.
	 * @see ccore.expression.ExpressionPackage#getCIntVar_Constraints()
	 * @see ccore.constraint.CConstraint#getVariables
	 * @model opposite="variables"
	 * @generated
	 */
	EList<CConstraint> getConstraints();

} // CIntVar
